package com.ruowei.modules.foodOrder.web.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CommodityDTO {

    @ApiModelProperty(value = "商品编码")
    private String merchandiseCode;

    @ApiModelProperty(value = "商品名称")
    private String merchandiseName;

    @ApiModelProperty(value = "商品图片")
    private String photos;

    @ApiModelProperty(value = "商品描述")
    private String description;

    @ApiModelProperty(value = "是否新品")
    private Boolean newStatus;

    @ApiModelProperty(value = "是否参与满减")
    private Boolean participateFullDiscount;

    @ApiModelProperty(value = "是否推荐")
    private Boolean recommendStatus;

    @ApiModelProperty(value = "总销量")
    private Long sale;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "以逗号分割的产品服务：1->无忧退货；2->快速退款；3->免费包邮")
    private String serviceIds;

    @ApiModelProperty(value = "评分")
    private BigDecimal score;

    @ApiModelProperty(value = "好评度")
    private String praiseProportion;

    @ApiModelProperty(value = "商品参数json")
    private String parameters;
}
